import request from '@/utils/request'
// 查询分销记录
export function getDistribution(query) {
  return request({
    url: '/system/member/distribution',
    method: 'get',
    params: query
  })
}
// 修改分销
export function putDistribution(data) {
  return request({
    url: '/system/member/distribution',
    method: 'put',
    params: data
  })
}